import request from "@/utils/request";

export function getWoRawSubByPage(query) {
  return request({
    url: `/system/woRawSub/getWoRawSubByPage`,
    method: "post",
    data: query,
  });
}

// 增加流程模型

export function addWoRawSub(query) {
  return request({
    url: `/system/woRawSub/addWoRawSub`,
    method: "post",
    data: query,
  });
}
/**
 *
 * @param {*} query
 * @returns
 */
export function delWoRawSub(query) {
  return request({
    url: `/system/woRawSub/delWoRawSub`,
    method: "post",
    data: query,
  });
}

export function updateWoRawSub(query) {
  return request({
    url: `/system/woRawSub/updateWoRawSub`,
    method: "post",
    data: query,
  });
}
